package com.study.cloudAlibaba.controller.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.study.springcloud.entities.CommonResult;

/**
 * @author lzc
 * @date 2022/7/28 14:26
 */
public class CustomerBlockHandle {
    public static CommonResult handleException(BlockException e){
        return new CommonResult(2022,"自定义报错信息 from CustomerBlockHandle1111111");
    }
    public static CommonResult handleException2(BlockException e){
        return new CommonResult(2022,"自定义报错信息 from CustomerBlockHandle2222222");
    }
}
